//
//  YFShopkeeperInformationCell.m
//  QuanJieShopProject
//
//  Created by apple on 2018/5/22.
//  Copyright © 2018年 apple. All rights reserved.
//

#import "YFShopkeeperInformationCell.h"

@implementation YFShopkeeperInformationCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

+ (instancetype)cellWithTableView:(UITableView *)tableView {
    static NSString *cellID = @"YFShopkeeperInformationCellID";
    YFShopkeeperInformationCell *cell = [tableView dequeueReusableCellWithIdentifier:cellID];
    if (!cell) {
        cell = (YFShopkeeperInformationCell *)[[[NSBundle mainBundle] loadNibNamed:@"YFShopkeeperInformationCell" owner:self options:nil] lastObject];
        cell.selectionStyle = UITableViewCellSelectionStyleNone;
    }
    
    return cell;
    
}

- (void)updateWithRow:(NSInteger)row {
    switch (row) {
        case 0:
            self.imgView.image = [UIImage imageNamed:@"wuLiu"];
            self.title.text = @"收款记录";
            break;
        case 1:
            self.imgView.image = [UIImage imageNamed:@"dingDanGuanLi"];
            self.title.text = @"订单管理";
            break;
       
        case 2:
            self.imgView.image = [UIImage imageNamed:@"kaidian"];
            self.title.text = @"查看店铺";
            break;
        case 3:
            self.imgView.image = [UIImage imageNamed:@"xiuGaiDianPu"];
            self.title.text = @"修改店铺";
            break;
            
        default:
            break;
    }
}

@end
